package com.apac.bom;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the employee_account_report_tbl database table.
 * 
 */
@Entity
@Table(name="employee_account_report_tbl")
public class EmployeeAccountReport extends AbstractBOM implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="EMP_ACCT_RPRT_CODE")
	private int empAcctRprtCode;

	@Column(name="RPRT_ENT_VAL")
	private String rprtEntVal;

	//bi-directional many-to-one association to AccountReport
	@ManyToOne
	@JoinColumn(name="ACCT_RPRT_CODE")
	private AccountReport accountReport;

	//bi-directional many-to-one association to EmployeeProject
	@ManyToOne
	@JoinColumn(name="EMP_PROJ_CODE")
	private EmployeeProject employeeProject;

	public EmployeeAccountReport() {
	}

	public int getEmpAcctRprtCode() {
		return this.empAcctRprtCode;
	}

	public void setEmpAcctRprtCode(int empAcctRprtCode) {
		this.empAcctRprtCode = empAcctRprtCode;
	}

	public String getRprtEntVal() {
		return this.rprtEntVal;
	}

	public void setRprtEntVal(String rprtEntVal) {
		this.rprtEntVal = rprtEntVal;
	}

	public AccountReport getAccountReport() {
		return this.accountReport;
	}

	public void setAccountReport(AccountReport accountReport) {
		this.accountReport = accountReport;
	}

	public EmployeeProject getEmployeeProject() {
		return this.employeeProject;
	}

	public void setEmployeeProject(EmployeeProject employeeProject) {
		this.employeeProject = employeeProject;
	}

}